
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>服务中心</title>
    <link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="/index.css">
    <script src="/jquery.min.js"></script>
    <script src="/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>


<form class="form-horizontal" action="/doRenew" method="post">
    <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">账号</label>
        <div class="col-sm-10">
            <input type="name" name="name" value="{{ $arr['info']['name'] }}" readonly class="form-control" style="width:300px;" placeholder="账号">
        </div>
    </div>
    <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">密码</label>
        <div class="col-sm-10">
            <input type="password" name="password" value="{{ $arr['info']['password'] }}" readonly class="form-control" style="width:300px;" placeholder="密码">
        </div>
    </div>
    <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">连接数</label>
        <div class="col-sm-10">
            <input type="text" name="conn_num" class="form-control" style="width:300px;" placeholder="连接数">
        </div>
    </div>
    {!! csrf_field() !!}
    <div class="form-group">
        <label for="inputEmail3"  class="col-sm-2 control-label">套餐</label>
        <div class="col-sm-10">
            <select style="width:300px;" name="product_id"  class="form-control">
                @foreach($data['list'] as $item)
                    <option value="{{$item['id']}}">{{$item['type_name']}} ---- {{$item['name']}}</option>
                @endforeach
            </select>
        </div>
    </div>
    <input type="hidden" name="user_id" value="{{ $arr['info']['id'] }}">

    <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">数量</label>
        <div class="col-sm-10">
            <input type="text" name="number" class="form-control" style="width:300px;" placeholder="数量">
        </div>
    </div>

    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-default">Sign in</button>
        </div>
    </div>
</form>


</body>
</html>
































